package com.yhou.demo.search.enums;

/**
 * @author houyong
 * @ProjectName search
 * @Description:
 * @date 2018/09/07 上午9:55
 */
public enum SearchTypeEnum {
    DemoSearch("demo1","demo1");

    private String index;
    private String type;

    SearchTypeEnum(String index, String type) {
        this.index = index;
        this.type = type;
    }

    public String getIndex() {
        return index;
    }

    public String getType() {
        return type;
    }
}
